﻿using System;

namespace Entities
{
    [Serializable]
    public class Employee
    {
        private string userName;
        private string password;
        private string email;
        private int type;
        public Employee()
        { }
        public Employee(string userName, string password, string email, int type)
        {
            this.userName = userName;
            this.password = password;
            this.email = email;
            this.type = type;
        }

        public string UserName
        {
            get { return this.userName; }
            set { this.userName = value; }
        }
        public string Password
        {
            get { return this.password; }
            set { this.password = value; }
        }
        public string Email
        {
            get { return this.email; }
            set { this.email = value; }
        }
        public int Type
        {
            get { return this.type; }
            set { this.type = value; }
        }
        public override string ToString()
        {
            return this.userName + "; " + this.password + "; " + this.email + "; " + this.type + "; ";
        }
        

    }
}